<div>
    <p><img src="Images/8.png" width="1280" height="8" alt="Long line" /></p>
</div>
<div id="apDiv3"><a href="Temasek Polytechnic.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','Image/4.jpg',1)"><img src="Images/3.jpg" name="Image4" width="166" height="51" border="0" id="Image4" /></a></div>
<div id="apDiv6" class="Text" align="left">
    <a href="index.php">Home</a> | 
    <a href="ManageLecDetails.php">Contact Us</a> | 
    <?php
    if (!isset($_SESSION['userid'])) {
        echo '<a href="Login.php">Login</a> | ';
    } else {
        echo '<a href="">Change Password</a> | ';
        echo '<a href="Logout.php">Logout</a>';        
    }
    ?>
</div>
<div id="apDiv10">
    <form id="form1" name="form1" method="post" action="">
        <span id="sprytextfield1">
            <label for="tbx1"><span class="Text"></span></label>
            <input type="text" name="tbx1" id="tbx1" value="Search..." onclick="this.value='';" /></span>
        <input name="btnSearch" type="submit" id="btnSearch" value="Search" class="Text"/>
    </form>
</div>